<?php if (!empty($users_data)) { ?>
  <?php foreach ($users_data as $user) { ?>
    <ul class="media-list">
      <a style="text-decoration: none; color: #000;" href="javascript:void(0);">
        <li class="media">
          <img class="media-object pull-left" alt="64x64" style="width: 64px; height: 64px;" src="<?php echo site_url('assets/photos/' . $user['user_image']); ?>">
          <div class="media-body">
            <h4 class="media-heading"><?php echo $user['user_display_name']; ?></h4>
            <p><?php echo $user['user_name']; ?></p>
          </div>
        </li>
      </a>
    </ul>
  <?php } ?>
<?php } ?>